<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Hyperlink Detector Targets</title>
<style type="text/css">@import url("file:/home/moovida/rcpdevelopment/eclipse/configuration/org.eclipse.osgi/bundles/488/1/.cp/book.css");</style>
<style type="text/css">@import url("file:/home/moovida/rcpdevelopment/eclipse/configuration/org.eclipse.osgi/bundles/505/1/.cp/schema.css");</style>
</HEAD>
<BODY>
<H1 style="text-align:center">Hyperlink Detector Targets</H1>
<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Since: </h6>3.3
<p></p>

<h6 class="CaptionFigColumn SchemaHeader">Description: </h6>This extension point is used to plug in hyperlink detector targets.<p></p>
<h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
<p></p>
<p class="code SchemaDtd">&lt;!ELEMENT <a name="e.extension">extension</a> (<a href="#e.target">target</a>+)&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST extension</p>
<p class="code SchemaDtdAttlist">point&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name&nbsp;&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>point</b> - a fully qualified identifier of the target extension point</li>
<li><b>id</b> - an optional identifier of the extension instance</li>
<li><b>name</b> - an optional name of the extension instance</li>
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.target">target</a> (<a href="#e.context">context</a>+)?&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST target</p>
<p class="code SchemaDtdAttlist">id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">description&nbsp;CDATA #IMPLIED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>id</b> - a unique id that will be used to identify this hyperlink detector target</li>
<li><b>name</b> - a name that allows to identify this hyperlink detector target in the UI</li>
<li><b>description</b> - the translatable description for this hyperlink detector target. Currently this description isn't displayed anywhere in the UI by the Eclipse SDK.</li>
</ul>
<br><p class="code SchemaDtd">&lt;!ELEMENT <a name="e.context">context</a> EMPTY&gt;</p>
<p class="code SchemaDtd">&lt;!ATTLIST context</p>
<p class="code SchemaDtdAttlist">type&nbsp;CDATA #REQUIRED</p>&gt;</p>
<p></p>
<ul class="ConfigMarkupAttlistDesc">
<li><b>type</b> - a hyperlink detector target context that can be accessed through <code>org.eclipse.jface.text.hyperlink.AbstractHyperlinkDetector.getAdapter(...)</code></li>
</ul>
<br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6>The following is an example of a hyperlink detector target definition:

<pre class="Example"><span class="code SchemaTag">
&lt;extension
  point=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets&quot;</span><span class="code SchemaTag">&gt;
  &lt;target
    id=</span><span class="code SchemaCstring">&quot;org.eclipse.jdt.ui.javaCode&quot;</span><span class="code SchemaTag">
    name=</span><span class="code SchemaCstring">&quot;Java Editor&quot;</span><span class="code SchemaTag">&gt;
    &lt;context type=</span><span class="code SchemaCstring">&quot;org.eclipse.ui.texteditor.ITextEditor&quot;</span><span class="code SchemaTag">/&gt;
  &lt;/target&gt;
&lt;/extension&gt;
</span></pre>
<p></p>

<br>
<p class="note SchemaCopyright">
Copyright (c) 2007 IBM Corporation and others.<br>
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>

</p>
</BODY>
</HTML>
